package com.dao;

import com.entity.HousepublicbuildingExample;
import com.entity.HousepublicbuildingKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface HousepublicbuildingDao {
    long countByExample(HousepublicbuildingExample example);

    int deleteByExample(HousepublicbuildingExample example);

    int deleteByPrimaryKey(HousepublicbuildingKey key);

    int insert(HousepublicbuildingKey record);

    int insertSelective(HousepublicbuildingKey record);

    List<HousepublicbuildingKey> selectByExample(HousepublicbuildingExample example);

    int updateByExampleSelective(@Param("record") HousepublicbuildingKey record, @Param("example") HousepublicbuildingExample example);

    int updateByExample(@Param("record") HousepublicbuildingKey record, @Param("example") HousepublicbuildingExample example);
}